package com.baiku.sanhos.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value = "t_user")
public class User implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;//帐号
    private String password;
    private Integer gender;
    private Date birthday;
    private String nickname;
    private Long phone;
    private String email;
    private String address;
    private String job;
    private Double amount;
    private Integer status;
    private Integer appointmentStatus;
    private Date updateTime;
    private Integer flag;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date recharge_time;
}
